package ss9999999999;

public class five {
    public static void main(String[] args) {
        int i1,i2;//i1男生数  i2女生数
        double a,b;//a男生总分  b女生总分
        for (i1=0;i1<=450;i1++){
            for(i2=0;i2<=450;i2++){
                b= 80.1*i2;
                a=75.0*i1;
                if(76.0==(a+b)/(i1+i2)){
                    if(i1+i2<=450&&i1+i2>=380){
                        System.out.println(i1);
                        System.out.println(i2);
                    }

                }
            }
        }
    }
}
